<template>
	<view class="container">
		<u-loading-page :loading="true" :loadingText="'在登录中...'"></u-loading-page>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	onLoad() {
		uni.setNavigationBarTitle({
			title: '登录中...'
		});
		console.log('登录中...');
		this.$initConfig(true).then((res) => {
			console.log(res);
			setTimeout(() => {
				console.log('跳转登录');
				uni.reLaunch({
					url: '/pages/index/index'
				});
			}, 1000);
		});
	},
	methods: {}
};
</script>

<style lang="scss" scoped></style>
